import request from '@/router/axios';

export const saveMark = (data) => {
  return request({
    url: '/api/blade-public/waterMark/save',
    method: 'post',
    data:{
      text:data.text,
      font:data.font,
      fontSize:data.size,
      color:data.fontColor,
      shadow:data.transparent / 100,
      textAlign:data.activeSeat
    }
  })
}

export const markDetail = () => {
  return request({
    url: '/api/blade-public/waterMark/detail',
    method: 'get'
  })
}
